﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Products.aspx.cs" Inherits="CoolCode.Web.UI.Views.IC.Products"
    Theme="Default" %>
    
<%@ Register Src="~/Controls/ExcelExporter.ascx" TagName="ExcelExporter"   TagPrefix="uc" %>
<%@ Register Src="~/Controls/ProductFilter.ascx" TagName="ProductFilter" TagPrefix="uc" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>出库查询</title>
</head>
<body>
    <form id="form1" runat="server">
    <ajaxToolkit:ToolkitScriptManager ID="tsmAjax" runat="server">
        <Scripts>
            <asp:ScriptReference Path="~/Content/js/Common.js" />
        </Scripts>
    </ajaxToolkit:ToolkitScriptManager>
    <cc:Loading ID="Loading1" runat="server"></cc:Loading>
    <!--Title -->
    <div class="HeaderTitle">
        <asp:Label ID="SCRHDR" runat="server" Text="出库查询"></asp:Label>
    </div>
    <asp:Panel ID="pnlMaster" runat="server" CssClass="HeaderSearch">
        <uc:ProductFilter runat="server" ID="productFilter"></uc:ProductFilter>
    </asp:Panel>
    <!--Grid-->
    <asp:UpdatePanel ID="udpHeader" runat="server" UpdateMode="Conditional"  ChildrenAsTriggers="false">
        <ContentTemplate>
            <div class="HeaderToolbar">
                <asp:LinkButton ID="lnkSearch" runat="server" CausesValidation="False" Text="搜索" />&nbsp;
                <a href="#" onclick="refresh();">刷新</a>&nbsp;
                 
                <uc:ExcelExporter ID="exporter" runat="server"/>&nbsp;&nbsp;
               <%-- <asp:LinkButton ID="lnkExcel" runat="server" CausesValidation="False" Text="导出Excel" />&nbsp;&nbsp;
                <asp:HyperLink ID="lnkExcelSrc" runat="server" ForeColor="#ff6600" Target="_blank"
                    Visible="false"></asp:HyperLink>&nbsp;--%>
            </div>
            <div id="products" class="HeaderGridView">
                <asp:GridView ID="gvMaster" runat="server" SkinID="ProductNoStatus">
                </asp:GridView>
            </div>
            <div style="clear: both;">
                <cc:Pager ID="pgrMaster" runat="server" />
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    </form>
</body>
</html>
